package com.fit.service;

import java.io.Serializable;
import java.util.Collection;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.fit.interfaces.User;

public interface Users {

	@CommitAfter
	public User save(User user);

	public Collection<User> retrive();
	
	public User retriveSingleUser(String userName);

	public User retriveSingleUser(Serializable id);
	@CommitAfter
	public User editSingleUser(User user);

}